package com.pan.design.pattern.behavioral.observer.google.demo;

import com.pan.design.pattern.behavioral.observer.google.Subscribe;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class ObserverTwo {

    @Subscribe
    public void observe1(String params){

        log.info(" this is ObserverTwo observe1 {}",params);

    }

    @Subscribe
    public void observe2(String params){

        log.info(" this is ObserverTwo observe2 {}",params);

    }

}
